package com.yunfei.api.v2.contants;

/**
 * @program: springclould_ylcaifu_App
 * @description:
 * @author: zhengyunfei
 * @create: 2019-07-29 17:15
 **/
public class QueryHeTongSignInfoContant {
    //声明接受状态
    public static final String NAMESPACE = "查询合同签署相关信息";
    public static final String WRITE_ACCOUNTINFO_NAMESPACE = "查询受益账号信息";
    public static final String ADD_ACCOUNTINFO_NAMESPACE = "填写账户信息(投资者)";
    public static final String ACCOUNTINFO_NAMESPACE = "账户信息相关接口";
    public static final String PERSON_NAMESPACE = "用户相关接口";
    public static final String UPDATE_ACCOUNTINFO_NAMESPACE = "编辑账户信息(投资者)";
    public static final String YUYUE_INFO_NAMESPACE = "预约信息(获取电子合同要素)";
    public static final String GET_ELEC_HTNO_NAMESPACE = "获取电子合同合同编号";
    public static final String CREATE_ELEC_HT_NAMESPACE = "系统生成电子合同";
    public static final String ELEC_HT_NAMESPACE = "合同相关接口";
    public static final String GET_LONG_TOKEN_NAMESPACE = "令牌相关接口";
    public static final String YUNHETONG_NAMESPACE = "云合同平台相关接口";
    public static final String AUTO_JIAGAI_NAMESPACE = "系统自动加盖管理人公章";
    public static final String AUTO_JIAGAI_NAMESPACE_NOTES = "系统自动执行，每五分钟一次";
    public static final String SIGN_HETONG_NAMESPACE = "签署合同(投资者)";
    public static final String CANCLE_ELEC_HT_NAMESPACE = "作废电子合同(理财师)";
    public static final String GET_STATUS = "查询合同签署状态";
    public static final String GET_HT_DETAIL = "查看合同详情";
    public static final String GET_HT_ID = "根据预约编号查询云合同的电子合同ID";
    public static final String GET_SIGNER_ID = "根据客户号查询签署者id";
    public static final String GET_HT_DETAIL_NOTES = "//成功示例\n" +
            "{\n" +
            "\"code\": 200,\n" +
            "\"msg\": true,\n" +
            "\"data\": {\n" +
            "\"contract\": {\n" +
            "\"id\": 1801271834485000,//合同 id\n" +
            "\"title\": \"根据模版生成合同 1\",//合同标题\n" +
            "\"contractNo\": \"模版生成 1\",//合同自定义编号\n" +
            "\"appId\": 2017051115423500000,//应用 id\n" +
            "\"czId\": \"C01F\",//存证 id\n" +
            "\"createType\": 0,//创建类型：0 模版生成，1 上传 word，2 上传 PDF\n" +
            "\"userId\": 20,//合同创建者 id\n" +
            "\"status\": 2,//合同状态 0 待签署，1 签署中，2 已完成\n" +
            "\"shape\": 0,//合同板式：0 竖版，1 横版\n" +
            "\"capacity\": 48.0664,//合同大小，单位 KB\n" +
            "\"signOffTime\": \"2018-01-25 21:42:43\",//合同签署完成时间\n" +
            "\"gmtCreate\": \"2018-01-27 18:34:48\",//创建时间\n" +
            "\"signer\": {\n" +
            "//当前合同签署者信息，如果当前用户不是合同签署者该值为 null\n" +
            "\"userId\": 20,//用户 id\n" +
            "\"userName\": \"测试用户 1\",//用户名称\n" +
            "\"status\": \"1\",//签署者状态:0 未签署，1 已签署\n" +
            "\"signValidateType\": 0,//验证方式：0 不验证，1 短信验证\n" +
            "\"userType\": \"0\",//用户类型 0 个人,1 企业\n" +
            "\"signMode\": \"0\",//签署使用印章类型 0 指定印章 1 每次绘制\n" +
            "}\n" +
            "}\n" +
            "}\n" +
            "}\n" +
            "//失败示例\n" +
            "{\n" +
            "\"code\": 20100,\n" +
            "\"msg\": \"合同不存在!\"\n" +
            "}";
    public static final String GET_STATUS_NOTES = "--查询是否有电子合同记录，如果有，按照电子合同状态限制权限\n" +
            "--查询是否有电子合同记录，如果无，查询是否录入了到账信息，如果已录入，限定无法点击电子合同签署\n" +
            "--如果未录入到账信息也没有生成电子合同的记录，可点击生成电子合同，也可选择线下签署\n";
    public static final String GET_SHOUYI_ZHANGHAO_INFO = "查询受益账号信息";
    public static final String GET_SHOUYI_ZHANGHAO_INFO_NOTES = "查询受益账号信息,如果data返回为空，需要根据银行卡号自动获取银行";
    public static final String GET_SHOUYI_ZHANGHAO_SELECT = "受益账号选择";
    public static final String GET_YUYUE_INFO = "预约信息（获取电子合同要素）";
    public static final String GET_ELEC_CONTCON_NO = "获取电子合同合同编号";
    public static final String ADD_ACCOUNT_INFO = "填写账户信息(投资者)";
    public static final String ADD_PERSON = "创建个人用户";
    public static final String UPDATE_FAREN_INFO = "创建或者添加法人信息";
    public static final String GET_BANK = "根据银行卡自动获取银行";
    public static final String GET_BANK_NOTES = "如果未自动获取银行,需要调用选择银行接口";
    public static final String GET_BANK_LIST = "可选择的银行";
    public static final String GET_BANK_LIST_NOTES = "下拉选择银行,此接口用在如果根据卡号没有查询到银行信息,则调用此接口，下拉选择，银行输入框点击的时候触发";
    public static final String UPDATE_ACCOUNT_INFO = "编辑账户信息(投资者)";
    public static final String IS_UPDATE = "是否可以编辑账户信息接口";
    public static final String GET_LONG_TOKEN = "获取长效令牌";
    public static final String SING_HETONG_SAVE = "签署合同";
    public static final String UPDATE_CONTRACT_SIGN_STATUS = "更新合同签署状态为待管理人签署";
    public static final String SING_HETONG_NOTES = "在系统后台静默完成指定签署者的签署操作，合同签署者和平台自身可以调用该接口";
    public static final String QUERY_HETONG_SIGNSTATUS = "查看合同状态";
    public static final String GET_LONG_TOKEN_NOTES = "长效令牌有效期为 15 分钟，令牌在持续使用过程中，会根据剩余有\n" +
            "效时间进行更新（比如获取了一个令牌，在有效期内一直在使用，用\n" +
            "到第 11 分钟时，所请求的接口在响应头信息中会返回更新后的令\n" +
            "牌），建议监听响应头信息中是否有令牌，如果有请即时更新";

    public static final String FA_QI_DIANZI_HETONG_QIANSHU_LIUCHENG = "发起电子合同签署流程（理财师）";
    public static final String QUXIAO_DIANZI_HETONG_QIANSHU_LIUCHENG = "取消电子合同签署流程（理财师）";
    public static final String ZUOFEI_XIEYI_SIGN = "作废协议签署判断";
    public static final String SIGN_ZUOFEI_XIEYI = "签署作废协议";
    public static final String ZUOFEI_XIEYI_SIGN_NOTES = "如果 ROW_CNT >0 代表有有效的作废协议，\n" +
            "客户端判断CONTRACT_STS，\n" +
            "如果CONTRACT_STS = '4'，展示 待签署（此时需要客户签署，调用页面签署逻辑）\n" +
            "如果CONTRACT_STS IN ('5', '6')，展示 查看作废协议（此时客户已签署完成）\n" +
            "理财师端只判断 ROW_CNT 如果 ROW_CNT >0，展示查看作废协议按钮\n" +
            "\n" +
            "如果ROW_CNT = 0，理财师端和客户端均不展示作废相关按钮";
    public static final String IS_CANCEL = "判断是否可取消";
    public static final String CANCEL = "取消逻辑";
    public static final String DOWNLOAD_CONTRACT = "合同下载";
    public static final String DOWNLOAD_CONTRACT_ZUOFEI = "合同作废协议下载";
    public static final String LOOK_CONTRACT_DETAIL = "查看合同详情";
    public static final String LOOK_CONTRACT_STATUS = "查看合同状态";
    public static final String LOOK_CONTRACT_SIGNREPORT = "查看合同签署报告";
    public static final String DOWNLOAD_CONTRACT_SIGNREPORT = "合同签署报告下载";
    public static final String DOWNLOAD_CONTRACT_NOTES = "下载合同，返回合同文件流";
    public static final String USER_PERSON_MODUAGE = "创建个人印章";
    public static final String GET_BASE64_MOULAGE = "根据 moulageId 获取印章";
    public static final String USER_PERSON_MODUAGE_NOTES = "创建个人创建个人印章，并返回印章的唯一标识 moulageId印章";

    public static final String CONTRACT_SIGN_MANAGER_NAMESPACE = "合同签署管理";
    public static final String CANCEL_ZUOFEI = "取消作废";
    public static final String CREATE_ZUOFEI_XIEYI = "生成作废协议/再次生成";
    public static final String CREATE_AGAIN = "再次生成";
    public static final String CONTRACT_ZUOFEI_GAIZHANG = "加盖公章";
    public static final String CONTRACT_ZUOFEI_GAIZHANG_NOTE = "合同作废页面加盖公章";
}
